libURLSetSSLVerification
Type
command
Summary
Allows for server credential authentication.
Syntax
libURLSetSSLVerification {true|false}
Description
libURLSetSSLVerification sets whether or not the server credentials are authenticated. If libURLSetSSLVerification is set to true then the server credentials are authenticated. If libURLSetSSLVerification is set to false, then the server credentials are not authenticated and any connection is accepted.
The libURLSetSSLVerification command is part of the Internet library on desktop platforms. To ensure that the command works in a desktop standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "Internet" script library is selected.
On iOS and Android, libURLSetSSLVerification is implemented in the engine. Therefore the Internet library is not needed to ensure the command works in a mobile standalone application. If included, the Internet library implementation will be used instead of the engine implementation.
The Web engine will always verify server credentials.
Examples
libURLSetSSLVerification true
libURLSetSSLVerification false
Related
glossary: main stack, handler, Standalone Application Settings, message, group, standalone application, keyword, command, application, LiveCode custom library
keyword: URL
library: Internet library, library
message: startup, openBackground, preOpenStack, openStack, preOpenCard
Compatibility and Support
Introduced
LiveCode 2.5
OS
mac
windows
linux
ios
android
Platforms
desktop
server